package controller

import "api/app/tools/auto/v1/api"

type ComSnController struct {
	api.ComSnApi
}

func init() {

	c := &ComSnController{}
	c.Prepare()
	c.AddRoute("/list", c.ListAction)
	c.AddRoute("/get", c.GetAction)
	c.AddRoute("/scan", c.ScanAction)
	c.AddRoute("/choice", c.ChoiceAction)
	c.AddRoute("/save", c.SaveAction)
	c.AddRoute(`/save_many`, c.SaveManyAction)
	c.AddRoute("/delete", c.DeleteAction)
	c.AddRoute("/delete_many", c.DeleteManyAction)
	c.AddRoute("/copy", c.CopyAction)
}

//如果不满意自动生成的方法，请自定义，本文件不会被生成器覆盖，请放心操作
//func (this *ComSnController) SaveAction(operation *server.Operation) {}
//func (this *ComSnController) GetAction(operation *server.Operation) {}
//func (this *ComSnController) ScanAction(operation *server.Operation) {}
//func (this *ComSnController) ListAction(operation *server.Operation) {}
//func (this *ComSnController) DeleteAction(operation *server.Operation) {}
